const ProgressBar = require('progress')

const bar = new ProgressBar(':bar', {total: 20})
const timer = setInterval(() => {
	bar.tick()
	if (bar.complete){
		clearInterval(timer)
	}
}, 1000)
